package com.iwic.smartkidsdaycares;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.webkit.WebView;

public class RealTimeMonitor extends Fragment {
	private static String urlCam = "http://www.eyespyfx.co.uk/player1.php?address=s08.eyespyfx.mobi&port=8080&id=f82d78735e452e7c611171c889b7d8bf&path=webcams&type=61&ptz=0&name=SonyMacCam&archive=1#";
	@Override
	public View onCreateView(LayoutInflater inflater,
			@Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		View view = inflater.inflate(R.layout.online_monitoring, container,false);
		WebView web = (WebView)view.findViewById(R.id.webView);
		web.loadUrl(urlCam);
		return view;
	}
}
